Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HSEARCH-1918 Fix 180 meridian crossing issue #870

Closed

Conversation

nicolashelleringer
Copy link
Member

Detected by non wanted double indeaxtion in Infinispan tests.
We gained tests for discrepancies between FieldBridge and
direct annotations indexing methods.

    Detected by non wanted double indeaxtion in Infinispan tests.
    We gained tests for discrepancies between FieldBridge and
    direct annotations indexing methods.
@Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
@FieldBridge(impl = SpatialFieldBridgeByHash.class)
@Embedded
public Coordinates getLocation() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi just curious why are you intentionally using the explicit bridge, rather than the Spatial annotation?

@spatial(spatialMode = SpatialMode.HASH)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did the same way the infinispan code did it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks!
On 20 Jul 2015 17:42, "Nicolas Helleringer" notifications@github.com
wrote:

In
orm/src/test/java/org/hibernate/search/test/spatial/DoubleIndexedPOI.java
#870 (comment)
:

  • @field(store = Store.YES, index = Index.YES)
  • String type;
  • @field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)
  • @FieldBridge(impl = SpatialFieldBridgeByHash.class)
  • @Embedded
  • public Coordinates getLocation() {

I did the same way the infinispan code did it.


Reply to this email directly or view it on GitHub
https://github.com/hibernate/hibernate-search/pull/870/files#r35001529.

@Sanne
Copy link
Member

Sanne commented Jul 20, 2015

Thanks, merged!

@Sanne Sanne closed this Jul 20, 2015
@nicolashelleringer
Copy link
Member Author

Thanks for the quick merge ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants